package com.ims.core.enums;

/**
 * 入池状态
 * 0 未入池
 * 10 入池成功
 * 20 入池失败
 * 30 重复采集
 * @author IMS
 */
public enum EnterStatus {
    WEI_RU_CHI(0, "未入池"),
    RU_CHI_CHENG_GONG(10, "入池成功"),
    RU_CHI_SHI_BAI(20, "入池失败"),
    CHONG_FU_CAI_JI(30, "重复采集");

    private final int code;
    private final String name;

    EnterStatus(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}